<template>
  <div class="loadPrompt" v-if="prompt">
    <p class="loadPrompt_type" v-if="page<totalpages&&!loadshow">下拉加载更多</p>
    <p class="loadPrompt_type" v-if="loadshow">加载中</p>
    <p class="loadPrompt_type" v-if="page>= totalpages && !loadshow">没有更多数据了</p>
  </div>
</template>

<script>
export default {
  props: ["prompt","page","totalpages","loadshow"],
  data(){
    return {

    }
  }, 
}
</script>

<style scoped>
  .loadPrompt{
    height: 100rpx;
    width: 100%;
    display:flex;
    justify-content: center;
    align-items: center;
    
  }
  .loadPrompt_type{
    font-size: 28rpx;
    color: #666;
  }
</style>